//
//  SizeHeader.h
//  projectBase
//
//  Created by chenjianying on 15-9-11.
//  Copyright (c) 2015年 chenjianying. All rights reserved.
//

#ifndef projectBase_SizeHeader_h
#define projectBase_SizeHeader_h

#define ScreenWidth             [[UIScreen mainScreen] bounds].size.width
#define ScreenHeight            [[UIScreen mainScreen] bounds].size.height
#define iOS7AndAbove            ([[UIDevice currentDevice].systemVersion floatValue] >= 7.0)
#define TopBarHeight            (iOS7AndAbove ? 64:44)
#define TopAndSystemHeight      (TopBarHeight + SystemHeight)
#define SystemTopY              (iOS7AndAbove ? 20:0)
#define SystemHeight            (iOS7AndAbove ? 0:20)
#define BottomHeight            53

#define SCREENWIDTH       [UIScreen mainScreen].bounds.size.width
#define SCREENHEIGHT      [UIScreen mainScreen].bounds.size.height
#define COLOR(R, G, B, A) [UIColor colorWithRed:R/255.0 green:G/255.0 blue:B/255.0 alpha:A]
#define headColor         [UIColor colorWithRed:13/255.0 green:153/255.0 blue:255/255.0 alpha:1.0]
#define graybackgroundColor         [UIColor colorWithRed:237/255.0 green:237/255.0 blue:237/255.0 alpha:1.0]
#define greenbackgroundColor         [UIColor colorWithRed:93/255.0 green:196/255.0 blue:79/255.0 alpha:1.0]
#define xdGrayColor         [UIColor colorWithRed:220/255.0 green:220/255.0 blue:220/255.0 alpha:1.0]
#define todayColor         [UIColor colorWithRed:50/255.0 green:122/255.0 blue:121/255.0 alpha:1.0]

#define HeadUrl    @"http://122.14.208.193:8080"
#define HostUrl    @"http://122.14.208.193:8080/GaKanAPI"

//#define HeadUrl    @"http://gy.fjmaimaimai.com:5669"
//#define HostUrl    @"http://gy.fjmaimaimai.com:5669"
//#define HeadUrl          @"http://xg.fjmaimaimai.com:6666"
//#define HostUrl          @"http://xg.fjmaimaimai.com:6666"
#define YOUHUASHUOUrl    @"http://121.40.125.152:5566"


//#define UmengAppkey @"58c2537175ca35143e001394"
//#define UmengAppkey @"58bd49e27666131f8e001146"
#define UmengAppkey   @"563c4af467e58e523600246e"

#define PINKCOlORSKIN  [UIColor colorWithRed:240.0/255 green:87.0/255 blue:129.0/255 alpha:1.0]
#define REDCOLORSKIN   [UIColor colorWithRed:202.0/255 green:43.0/255 blue:52.0/255 alpha:1.0]
//#define PINKCOlORSKIN   [UIColor colorWithRed:202.0/255 green:43.0/255 blue:52.0/255 alpha:1.0]

#define MainColor    CJYColor(0, 170, 255)

#define MainBgColor    [UIColor colorWithRed:240.0/255 green:240.0/255 blue:240.0/255 alpha:1.0]
#define SelectedColor    [UIColor colorWithRed:98.0/255 green:55.0/255 blue:41.0/255 alpha:1.0]
#define TextBgColor      [UIColor colorWithRed:244.0/255 green:237.0/255 blue:231.0/255 alpha:1.0]
#define CJYColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

#define Notify_CloseSildeMenu  @"closeslidemenu"
#define Notify_ChangeSkin      @"Notify_ChangeSkin"
#define RefshHistoryKeyList    @"keyList"

#define UIColorRGB(value) [UIColor colorWithRed:value/255.0 green:value/255.0 blue:value/255.0 alpha:1.0]

#define NotifyURL  @"http://121.40.125.152:3000/stx/zfbPayCallBack"
#define PARTNER    @"2088001742457422"
#define SELLER     @"sotia__mail@163.com"
#define PRIVATEKEY    @"MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBANMueSdTQGX7FtAoc4gJ5R6MfVzYQBud3dmY92ALqajGVWg/C9ggqrP205YpX9C81YDXNxxQugo40iH1ISwu1/KMhLVDgRuw0Yqwm1Ke+SIFWGzJCnxvw3Juk5bEkEihZh5OazHPWyy/trGX1w46hSs063PPCo3UpTIW+4NhreCbAgMBAAECgYBmHzcfOTcPGdjyWF1mD8Lofu+wkjKOKE08CKi3nWwx3Zc3jiVgIovp8xZmqyNWgbqNT4Wq/663errDCRM9lnl+RAecuyUrSQweXtpLsW0yW90MxDhgwnFYRcw1SpP6YrJAEpRryD/If6vh/WWa0zCsboIwV3O1rkO3ro35j/MDwQJBAPazSVL37WQA4Z6lpzVXqVuJOKcX7bXMGcsbxOhaM1YEr/W+CHZHne0pwT89q/gIWbJtBaZKEfYJhlftCWJn0CMCQQDbJGwkvC4nJTDRI28GjtyoQ2OODQMnB/bnm6j224o9GBAOY7MVlQ3n7/VomKvTTzsLRwa36+aTqufsYCAf73kpAkAcbYyFgwxX+cIGBhC+lNtvMODWYGuEB4DxZsHKBJrlzqR4LO3Ms3P/YFBkeTbX3h538Rg1kVOAhph0iVwLeusBAkEAmnoEWajlh+apkOO/ggn29g37AcmebUcp/341Dz8XJZXuy5XwSch2swbuIbttdFmnr31z+Par5XBWaMQiISD4cQJAF70wvOzfAargytLCll2hGrLbfc5+wGcYS38cRdZdbjwPrFKXLdFEY8JTP+EqY+B1H7cV2pBlYfu4gGBtnDTSRg=="

#define AppScheme  @"yikangle"

#define Notify_ShopCartList           @"Notify_ShopCartList"
#define Notify_ShopCartTip           @"Notify_ShopCartTip"
#define Notify_AddressList            @"Notify_AddressList"
#define Notify_RemoveAddressList      @"Notify_RemoveAddressList"
#define Notify_BianjiAddressList      @"Notify_BianjiAddressList"
#define Notify_RefreshShopList        @"Notify_RefreshShopList"
#define DESKEY  @"stx_mall20151019"
#define Notify_ThumailImageSize       @"Notify_ThumailImageSize"
#define Notify_TabBarOfIndex          @"Notify_TabBarOfIndex"
#define Notify_Gift                   @"Notify_Gift"
#define Notify_TabBarOfColor          @"Notify_TabBarOfColor"

//配置选项
//#define PersonShopId                  @"0"
#define IOSShareUrl                   @"http://www.pgyer.com/ssU7"
#define AndroidShareUrl               @"http://www.pgyer.com/hlu8"

#endif
